import request from '@/utils/request'

// 记录点位信息
export function enrollTrail(query) {
  return request({
    url: '/app/hps/enrollTrail/add',
    method: 'post',
	params: query
  })
}

//获取报名是否开赛
export function queryMatchSite(userId) {
  return request({
    url: '/app/hps/enrollTrail/queryMatchSite/'+userId,
    method: 'get'
  })
}